import java.util.ArrayList;

public abstract class Contract {
	
	private Date dateStartOfContract;
	public Date getDateStartOfContract() {
		
		return dateEndOfContract;
	}

	private Date dateEndOfContract;
	public Date getDateEndOfContract() {
		
		return dateEndOfContract;
	}

	private ArrayList<ContractCorrection> listOfContractCorrection;
	public ArrayList<ContractCorrection> getListOfContractCorrection() {
	
		return listOfContractCorrection;
	}

	private String description;
	public String getDescription() {
	
		return description;
	}
	
	
	protected Contract(Date sDate, Date eDate, String description) {
	
		super();
		
		this.dateStartOfContract = sDate;
		this.dateEndOfContract = eDate;
		this.description = description;
		this.listOfContractCorrection = new ArrayList<ContractCorrection>();
		
		System.out.println("Create Abstract Contract");
	}

	public void addContractCorrection(ContractCorrection correction) {
	
		if (correction != null) {
			listOfContractCorrection.add(correction);
		}
	}
}